

class ActivaCodeData {
  int? status;
  String? message;
  Data1? data;

  ActivaCodeData({this.status, this.message, this.data});

  ActivaCodeData.fromJson(Map<String, dynamic> json) {
    if(json["status"] is int) {
      status = json["status"];
    }
    if(json["message"] is String) {
      message = json["message"];
    }
    if(json["data"] is Map) {
      data = json["data"] == null ? null : Data1.fromJson(json["data"]);
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["status"] = status;
    _data["message"] = message;
    if(data != null) {
      _data["data"] = data?.toJson();
    }
    return _data;
  }
}

class Data1 {
  String? authCode;
  String? code;

  Data1({this.authCode, this.code});

  Data1.fromJson(Map<String, dynamic> json) {
    if(json["authCode"] is String) {
      authCode = json["authCode"];
    }
    if(json["code"] is String) {
      code = json["code"];
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["authCode"] = authCode;
    _data["code"] = code;
    return _data;
  }
}